using System;
using System.IO;
using System.Data;
using System.Configuration;
using System.Web;
using System.Text;
using System.Web.Security;

/// <summary>
/// Summary description for Utilities
/// </summary>
/// 
namespace webapp4U.BOL
{
    public class Utilities
    {

        /// <summary>
        /// Tao file text va ghi noi dung vao file text
        /// </summary>
        /// <param name="filePath"></param>
        /// <param name="text"></param>
        public static void CreateTextFile(string filePath, string text)
        {
            using (StreamWriter sw = System.IO.File.CreateText(filePath))
            {
                sw.WriteLine(text);
                sw.Close();
            }
        }

    }
}